package com.itheima.idea;

public class phone {
    String barnd;
    int price;


    public void call(String name){
        System.out.println("给"+name+"打电话");
    }
    public void sendMessage(){
        System.out.println("使用"+barnd+"品牌,价值"+price+"给同学群发消息");
    }
}
